import time

from sample.common.base_page import BasePage


class B2bHome(BasePage):
    URL = '/#'

    def close_advertisement_page(self):
        time.sleep(5)
        self.click_element('BuyersHome.CloseAdvertisementBtn')
        time.sleep(5)
